package com.ihr360.binlog.health;

public class HealthInfo {
    public final static HealthInfo noError = new HealthInfo(0, null);
    private int code;
    private String message;

    public HealthInfo(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}